import { createApp } from "vue";
import { createPinia } from "pinia";

import App from "./App.vue";
import router from "./router";
// import "amfe-flexible";
import "@/assets/style/common.scss";
import "@/permission";
import VConsole from "vconsole";

if (import.meta.env.VITE_NODE_ENV !== "production") {
  new VConsole();
}
const app = createApp(App);

app.use(createPinia());
app.use(router);

app.mount("#app");
